<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!-- 驱动配置基本配置区域 -->
<div id="driverEditConfigPropertyContainer" class="row container"></div>

<div class="panel-group">
	<div class="panel panel-default">
		<div class="panel-heading">
			<h4 class="panel-title">
				<u data-toggle="collapse" class="fastsyncer_pointer" href="#advancedConfig">点击展开高级配置</u>
			</h4>
		</div>
		<div id="advancedConfig" class="panel-collapse collapse">
			<div class="panel-body">
				<!-- 策略配置 -->
				<form class="form-horizontal" role="form">
					<div class="text-muted">增量配置</div>
					<!-- 是否启用 -->
					<div class="row">
						<div class="col-md-4">
							<div class="form-group">
								<label class="col-sm-3 control-label">状态</label>
								<div class="col-sm-9">
									<div class="switch" id="driverStrategyIncrementEnable">
										<input type="checkbox" />
									</div>
								</div>
							</div>
						</div>
					</div>

					<!-- Mysql增量策略配置 -->
					<div id="sourceStrategyIncrementDatabaseMysql" class="hidden">
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<label class="col-sm-3 control-label">IP*</label>
									<div class="col-sm-9">
										<input id="sourceStrategyIncrementIp" type="text"
											class="form-control" value="127.0.0.1" placeholder="127.0.0.1">
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="col-sm-3 control-label">端口*</label>
									<div class="col-sm-9">
										<input id="sourceStrategyIncrementPort" type="text"
											class="form-control" value="11111" placeholder="11111">
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="col-sm-3 control-label">instance*</label>
									<div class="col-sm-9">
										<input id="sourceStrategyIncrementInstance" type="text"
											class="form-control" value="example" placeholder="example">
									</div>
								</div>
							</div>
						</div>
	
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<label class="col-sm-3 control-label">库</label>
									<div class="col-sm-9">
										<input id="sourceStrategyIncrementDatabase" type="text"
											class="form-control" disabled="disabled">
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="col-sm-3 control-label">表</label>
									<div class="col-sm-9">
										<input id="sourceStrategyIncrementTable" type="text"
											class="form-control" disabled="disabled">
									</div>
								</div>
							</div>
							<div class="col-md-4"></div>
						</div>
					</div>

					<!-- Oracle增量策略配置 -->
					<div id="sourceStrategyIncrementDatabaseOracle" class="hidden">
						<div class="row">
							<div class="col-md-4">
								<div class="row text-center" id="sourceStrategyIncrementScanAll">
									<div class="col-sm-6">
										<input type="radio" name="scanAll" value="flase" checked>
										运行日志
									</div>
									<div class="col-sm-6">
										<input type="radio" name="scanAll" value="true"> 所有日志
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="col-sm-3 control-label">字典*</label>
									<div class="col-sm-9">
										<input id="sourceStrategyIncrementDictionaryPath" type="text"
											class="form-control" value="D:\Oracle\logmnr\dictionary.ora"
											placeholder="/oracle/logmnr/dictionary.ora">
									</div>
								</div>
							</div>
							<div class="col-md-4"></div>
						</div>
					</div>
				</form>
				<!-- 策略配置结束 -->
			</div>
		</div>
	</div>
</div>

<script type="text/javascript">
	$.getScript($basePath + '/style/js/driver/driverEditSync.js');
	$.getScript($basePath + '/style/js/driver/driverEditSyncStrategy.js');
</script>